package com.cz.datafetcher.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cz.datafetcher.common.SysError;
import com.cz.datafetcher.entity.FetchData;
import com.cz.datafetcher.entity.PostEntity;

import java.util.Date;
import java.util.HashMap;
import java.util.List;

public interface FetchDataService extends IService<FetchData>  {
    HashMap<String, List<FetchData>> Fetch(String fetchDeviceIds, Date begin, Date end, boolean save2db);

    void SavePostValue(PostEntity entity) throws SysError;
}
